package com.gzm.springcloud.dao;

import com.gzm.springcloud.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @ClassName DeptDao
 * @Description:
 * @Author gzm
 * @Date 2020/11/23 10:44
 **/
@Mapper
public interface DeptDao {
     boolean addDept(Dept dept);

     Dept findById(Long id);

     List<Dept> findAll();

}
